package com.bdqn.membersystem.servicce.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.bdqn.membersystem.pojo.OrderList;
import java.util.List;
import com.bdqn.membersystem.mapper.OrderListMapper;
import com.bdqn.membersystem.servicce.OrderListService;
@Service
public class OrderListServiceImpl implements OrderListService{

    @Resource
    private OrderListMapper orderListMapper;

    @Override
    public int deleteByPrimaryKey(String listId) {
        return orderListMapper.deleteByPrimaryKey(listId);
    }

    @Override
    public int insertSelective(OrderList record) {
        return orderListMapper.insertSelective(record);
    }

    @Override
    public OrderList selectByPrimaryKey(String listId) {
        return orderListMapper.selectByPrimaryKey(listId);
    }

    @Override
    public int updateByPrimaryKeySelective(OrderList record) {
        return orderListMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateBatch(List<OrderList> list) {
        return orderListMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<OrderList> list) {
        return orderListMapper.batchInsert(list);
    }

    @Override
    public int insertOrUpdate(OrderList record) {
        return orderListMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(OrderList record) {
        return orderListMapper.insertOrUpdateSelective(record);
    }

}
